how to export data from sql server to csv file using query